package lab04.test04;

public class Test04 {
    public static void main(String[] args) {

        //实现
        Thread thread=new Thread(new A());
        thread.start();

        Thread thread1=new Thread(new B());
        thread1.start();

        Thread thread2=new Thread(new C());
        thread2.start();

        //继承
//        A a=new A();
//        a.run();
//
//        B b=new B();
//        b.run();
//
//        C c=new C();
//        c.run();
    }
}
